package com.mail.service;
/**
 * 
 * @author yangshaojun
 *
 */
public interface MailSenderService {
	
	/**
	 * 发送邮件
	 * @param to
	 * @param subject
	 * @param content
	 */
	void sendSimpleMail(String toUser, String subject, String text);
	
	/**
	 * 发送HTML邮件
	 * @param to
	 * @param subject
	 * @param content
	 */
	void sendHtmlMail(String toUser, String subject, String text);
	
	/**
	 * 发送附件邮件
	 * @param toUser
	 * @param subject
	 * @param text
	 * @param filePath
	 */
	void sendAttachmentsMail(String toUser, String subject, String text, String filePath);

	/**
	 * 发送图片邮件
	 * @param toUser
	 * @param subject
	 * @param text
	 * @param imgPath
	 * @param imgId
	 */
	void sendImageResourceMail(String toUser, String subject, String text, String imgPath, String imgId);
}
